/* 任务列表 */

#write .md-task-list-item:before {
  content: none;
}

#write .md-task-list-item > input {
  margin: 0px;
  padding: 0px;
  width: 0px;
  height: 0px;
  line-height: 1.2rem;
}
#write .md-task-list-item > input:before {
  display: inline-block;
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  text-align: center;
  vertical-align: middle;
  background-color: var(--task-list-bg-color);
  border: 1px solid var(--task-list-border-color);
  border-radius: 25%;
}

#write .md-task-list-item > input[checked]:before {
  content: "✔";
  color: var(--task-list-color);
  -webkit-text-stroke: 2px var(--task-list-color);
  width: 1.1rem;
  height: 1.1rem;
  background-color: var(--task-list-bg-color);
  border: 2px solid var(--task-list-border-color);
  border-radius: 25%;
  font-size: 0.75rem;
  line-height: 0.8rem;
}

#write input[type="checkbox"] {
  position: absolute;
  top: 2px;
  left: 5px;
}

#write .md-task-list-item p {
  margin: 0px 1.8rem;
}

/* 任务列表已完成文本样式 */
#write ul li.task-list-done p span {
  text-decoration: line-through;
  color: var(--task-list-checked-text-color) !important;
}

blockquote ul li.md-task-list-item.task-list-done {
  color: var(--blockquote-task-list-checked-text-color);
}
